Skip to content

feat: add Pod-scoped S3 gateway commands - #19

Merged
dmeijboom merged 2 commits into
mainfrom
feat/s3-gateway
Nov 3, 2026
Merged

dmeijboom merged 2 commits into
mainfrom
feat/s3-gateway

Conversation

@dmeijboom

@dmeijboom dmeijboom commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Adds Pod-scoped s3 ls/cp/mv/upload/download/rm commands using Brainpod API keys. The AWS SDK handles listing, writes, and multipart operations through a generic Bearer-authenticated gateway adapter. Redirect downloads use separate unauthenticated HTTPS requests; provider requests never receive Bearer credentials.

Includes bounded copies, guarded multipart stdin transfers, generic metadata, endpoint configuration, command descriptions, and documentation. Unrelated tunnel and CI work is excluded.

Verified: 127 local tests; offline locked compilation; formatting; CLI smoke checks; and 23 live checks against a local S3 gateway. Live coverage includes all six commands, Unicode/punctuation keys, a 26 MiB multipart roundtrip with matching SHA256 hashes, failure without a producer-success marker, and exact-key cleanup. Test objects were removed and temporary credentials revoked.

Draft / merge blocker: the offline prototype lockfile pins yanked transitive dependency spin 0.10.0 through crc-fast. Resolve/review that dependency and rerun checks before marking ready. Cross-platform execution remains unverified locally.

XML parsing now delegates entirely to the SDK; the redundant validator and direct XML-parser dependency are removed. Size limits and credential/producer safeguards remain. The live checks above preceded this simplification; the current revision passes 127 local tests and static checks, but live tests were not rerun.

@dmeijboom
dmeijboom marked this pull request as draft November 3, 2026 20:36
@dmeijboom
dmeijboom marked this pull request as ready for review November 3, 2026 20:48
@dmeijboom
dmeijboom merged commit 7eb573a into main Nov 3, 2026
6 checks passed
@dmeijboom
dmeijboom deleted the feat/s3-gateway branch November 3, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant